﻿using System;
using System.Globalization;
using System.Threading.Tasks;

namespace AutofacDemo
{
    public class HelloService : IHelloService
    {
        public Task<string> SayHello(string name)
        {
            Console.WriteLine($"hello {name}");
            return Task.FromResult($"hello {name}");
        }
    }
}